adLoaded
Type
message
Summary
Sent when an ad had loaded (or reloaded).
Syntax
adLoaded <pAdName>, <pDefault>
Description
Handle the adLoaded message if you want to perform an action when an ad finishes loading.
The adLoaded message is sent to the object that created the ad when the ad has loaded, or reloaded.
Parameters
Name | Type | Description |
---|---|---|
pAdName | The name of ad that has loaded (as specified in mobileAdCreate) | |
pDefault | bool | True or false, specifying if the loaded ad is a default ad. |
Examples
on adLoaded pAd
enable button "move next"
end adLoaded
Related
function: mobileAdGetTopLeft, mobileAdGetVisible
message: adClicked, adLoadFailed
command: mobileAdCreate, mobileAdDelete, mobileAdSetVisible, mobileAdSetTopLeft, mobileAdRegister
Compatibility and Support
Introduced
LiveCode 5.5
OS
ios
android
Platforms
mobile